package com.jshoperxms.entity;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigInteger;


/**
 * The persistent class for the coupon_code_t database table.
 * 
 */
@Entity
@Table(name="coupon_code_t")
@NamedQuery(name="CouponCodeT.findAll", query="SELECT c FROM CouponCodeT c")
public class CouponCodeT implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private String id;

	private String rangetype;

	private String bindmemberid;

	private String code;

	private String couponid;

	private BigInteger createtime;

	private String creatorid;

	private String status;

	private BigInteger updatetime;

	private int versiont;

	public CouponCodeT() {
	}

	public String getRangetype() {
		return rangetype;
	}

	public void setRangetype(String rangetype) {
		this.rangetype = rangetype;
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getBindmemberid() {
		return this.bindmemberid;
	}

	public void setBindmemberid(String bindmemberid) {
		this.bindmemberid = bindmemberid;
	}

	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getCouponid() {
		return this.couponid;
	}

	public void setCouponid(String couponid) {
		this.couponid = couponid;
	}

	public BigInteger getCreatetime() {
		return this.createtime;
	}

	public void setCreatetime(BigInteger createtime) {
		this.createtime = createtime;
	}

	public String getCreatorid() {
		return this.creatorid;
	}

	public void setCreatorid(String creatorid) {
		this.creatorid = creatorid;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public BigInteger getUpdatetime() {
		return this.updatetime;
	}

	public void setUpdatetime(BigInteger updatetime) {
		this.updatetime = updatetime;
	}

	public int getVersiont() {
		return versiont;
	}

	public void setVersiont(int versiont) {
		this.versiont = versiont;
	}
}